Automatic determination of active area parameters based on solar images using AI and computer vision